home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Multimedia / Q-Z / VCR+(app+src).sit / Sources / lookup2.c < prev    next >
MacBinary  |  1993-03-17  |  1.0 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Mar 17 21:29:20 1993, modified Wed Mar 17 21:29:20 1993, creator Think C, type ASCII, 371 bytes "lookup2.c" , at 0x1f3 436 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 6c 6f 6f 6b 75 70 | 32 2e 63 00 00 00 00 00 |..lookup|2.c.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 01 73 00 | 00 01 b4 a7 cd 8f 00 a7 |......s.|........|
|00000060| cd 8f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c2 9d 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 56 43 52 70 6c 75 |#include| "VCRplu|
|00000090| 73 2e 68 22 0d 0d 65 78 | 74 65 72 6e 09 75 6e 73 |s.h"..ex|tern.uns|
|000000a0| 69 67 6e 65 64 20 6c 6f | 6e 67 09 73 74 61 72 74 |igned lo|ng.start|
|000000b0| 5b 34 38 30 5d 2c 20 6c | 65 6e 67 5b 34 38 30 5d |[480], l|eng[480]|
|000000c0| 20 3b 0d 0d 2f 2a 20 74 | 68 65 20 35 31 32 2d 65 | ;../* t|he 512-e|
|000000d0| 6e 74 72 79 20 74 61 62 | 6c 65 73 20 6f 66 20 73 |ntry tab|les of s|
|000000e0| 74 61 72 74 69 6e 67 20 | 74 69 6d 65 20 61 6e 64 |tarting |time and|
|000000f0| 20 70 67 6d 20 64 75 72 | 61 74 69 6f 6e 20 2a 2f | pgm dur|ation */|
|00000100| 0d 6c 6f 6e 67 20 09 6c | 6f 6f 6b 75 70 32 28 09 |.long .l|ookup2(.|
|00000110| 6c 6f 6e 67 20 09 73 74 | 69 6d 65 2c 20 6c 6f 6e |long .st|ime, lon|
|00000120| 67 20 64 75 72 61 74 29 | 0d 7b 0d 09 6c 6f 6e 67 |g durat)|.{..long|
|00000130| 20 09 6a 3b 0d 0d 09 66 | 6f 72 28 6a 3d 30 3b 20 | .j;...f|or(j=0; |
|00000140| 6a 3c 34 38 31 3b 20 6a | 2b 2b 29 0d 09 7b 0d 09 |j<481; j|++)..{..|
|00000150| 09 69 66 28 73 74 69 6d | 65 20 3d 3d 20 73 74 61 |.if(stim|e == sta|
|00000160| 72 74 5b 6a 5d 29 0d 09 | 09 7b 0d 09 09 09 69 66 |rt[j])..|.{....if|
|00000170| 28 64 75 72 61 74 20 3d | 3d 20 6c 65 6e 67 5b 6a |(durat =|= leng[j|
|00000180| 5d 29 20 62 72 65 61 6b | 20 3b 0d 09 09 7d 0d 09 |]) break| ;...}..|
|00000190| 7d 0d 0d 09 69 66 28 20 | 6a 20 3e 3d 20 34 38 30 |}...if( |j >= 480|
|000001a0| 20 29 0d 09 7b 0d 09 09 | 53 65 74 44 54 65 78 74 | )..{...|SetDText|
|000001b0| 28 64 6c 67 4d 45 53 53 | 41 47 45 2c 22 5c 70 4d |(dlgMESS|AGE,"\pM|
|000001c0| 69 73 73 69 6e 67 20 69 | 6e 64 65 78 20 65 6e 74 |issing i|ndex ent|
|000001d0| 72 79 21 22 29 3b 0d 09 | 09 6a 20 3d 20 30 3b 0d |ry!");..|.j = 0;.|
|000001e0| 09 7d 0d 09 0d 09 72 65 | 74 75 72 6e 28 6a 29 3b |.}....re|turn(j);|
|000001f0| 0d 7d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|00000200| 00 00 01 00 00 00 01 5a | 00 00 00 5a 00 00 00 5a |.......Z|...Z...Z|
|00000210| 23 64 65 66 69 6e 65 09 | 09 64 6c 67 44 45 43 4f |#define.|.dlgDECO|
|00000220| 44 45 52 09 09 31 37 0d | 23 64 65 66 69 6e 65 09 |DER..17.|#define.|
|00000230| 09 6c 6f 6f 6b 75 70 32 | 2e 63 02 00 00 00 50 61 |.lookup2|.c....Pa|
|00000240| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 01 |rtSITx..|........|
|00000250| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 a9 7e a4 27 00 00 | 00 00 00 00 01 b4 09 6d |...~.'..|.......m|
|00000280| 6f 6e 74 68 2c 0d 20 20 | 20 20 09 09 09 09 64 61 |onth,. | ....da|
|00000290| 79 2c 0d 20 20 20 20 09 | 09 09 09 79 65 61 72 2c |y,. .|...year,|
|000002a0| 0d 20 20 20 20 09 09 09 | 09 63 68 61 6e 6e 65 6c |. ...|.channel|
|000002b0| 2c 0d 20 20 20 20 09 09 | 09 09 73 74 61 72 74 54 |,. ..|..startT|
|000002c0| 69 6d 65 2c 0d 20 20 20 | 20 09 09 09 09 64 75 72 |ime,. | ....dur|
|000002d0| 61 74 69 6f 6e 2c 0d 20 | 20 20 20 09 09 09 09 63 |ation,. | ....c|
|000002e0| 6f 64 65 3b 0d 7d 3b 0d | 74 79 70 65 64 65 66 20 |ode;.};.|typedef |
|000002f0| 73 74 72 75 63 74 20 76 | 63 72 49 6e 66 6f 20 76 |struct v|crInfo v|
|00000300| 00 00 00 04 00 06 00 04 | 00 00 00 0a 00 09 06 47 |........|.......G|
|00000310| 65 6e 65 76 61 00 00 00 | 00 40 00 03 00 18 00 00 |eneva...|.@......|
|00000320| 00 b6 00 09 00 de 8a 24 | 10 01 09 73 74 61 72 74 |.......$|...start|
|00000330| 5b 6a 5d 20 00 16 00 00 | 00 b6 00 09 00 de 8a 14 |[j] ....|........|
|00000340| 10 01 07 6c 65 6e 67 5b | 6a 5d 00 10 00 00 00 b6 |...leng[|j]......|
|00000350| 00 09 00 de 8a 04 00 00 | 01 6a 00 00 01 00 00 00 |........|.j......|
|00000360| 01 5a 00 00 00 5a 00 00 | 00 5a 01 17 16 bc 09 8e |.Z...Z..|.Z......|
|00000370| 00 00 00 1c 00 5a 00 02 | 45 54 41 42 00 00 00 1a |.....Z..|ETAB....|
|00000380| 45 46 4e 54 00 00 00 26 | 44 54 56 55 00 00 00 32 |EFNT...&|DTVU...2|
|00000390| 03 ec ff ff 00 00 00 00 | 00 00 00 00 03 eb ff ff |........|........|
|000003a0| 00 00 00 08 00 00 00 00 | 64 17 ff ff 00 00 00 16 |........|d.......|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+